//简历项目经验
import React, { Component } from 'react'
import {
    View,
    Text,
    TouchableOpacity,
} from 'react-native';

import { resumesixStyle as styles } from '../../../../../styles';
import Icon from 'react-native-vector-icons/Ionicons';
import Re_project6 from './re_project6';


export default class Resumeproject extends Component {
    constructor(props) {
        super(props);
    }
    render() {
        return (
            <View style={styles.sixall}>
                <Text style={styles.sixtop}>项目经验</Text>
                <Re_project6
                    resume={this.props.resume}
                    xzProjectExps={this.props.xzProjectExps}
                    actions={this.props.actions}
                    navigation={this.props.navigation}
                />
                <TouchableOpacity
                    style={styles.sixbot}
                    activeOpacity={1}
                    onPress={() => { this.goGet('Rproedit', this.props.resume, {}, this.props.actions) }}>
                    <Icon
                        name={'md-add'}
                        size={20}
                        color={'#3d9ccc'} style={styles.sixiconb2} />
                    <Text style={styles.sixtxt1}>添加项目经验</Text>
                </TouchableOpacity>
            </View>

        )
    }
    goGet(name, object, xzProjectExp, action) {
        this.props.navigation.navigate(name, { resume: object, xzProjectExp: xzProjectExp, actions: action });
    }
}